﻿using UnityEngine;
using System;
using System.Threading;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.IO;
using System.Text;
using IMIForUnity;

public partial class KDXBodyMeaImiDemo : IMIBodyMeasure
{

	enum BODYMEASTATE
	{
		IDLE0,
		FRONT,
		IDLE1
	}

	BODYMEASTATE mbodymeaState=BODYMEASTATE.IDLE0;



	public override void ClearFrontPrevData()
	{
		waistSmthWideness.ClearAll();
		heightSmoothTool.ClearAll();
		mbodymeaState=BODYMEASTATE.IDLE0;
	}
			

	//for measuring datas when user front facing the device
	public override void BeginMeasureFront()
	{
		enableFrontProcess=true;
		mbodymeaState=BODYMEASTATE.FRONT;
		//measure the front part of the body
		
	}
	
	
	public override void EndMeasureFront()
	{
		enableFrontProcess=false;
		mbodymeaState=BODYMEASTATE.IDLE1;	
		
	}

}
